package co.fitstart.entity.courseware.assessment;

import com.demo2do.core.utils.Alias;

/**
 * 基础力量
 * @author haiyan_xiao
 *
 */
@Alias("basicForce")
public enum BasicForceOption {
    LEVELONE("levelOne", "<30s", "<10s", "<10s"),
    
    LEVELTWO("levelTwo", "30-60s", "10-20", "10-15"),
    
    LEVELTHREE("levelThree", "61-90s", "20-30", "16-20"),
    
    LEVELFOUR("levelFour", ">90s", ">30", ">20");
    
    private String alias;
    
    /** 静蹲 */
    private String staticSquat;
    
    /** 俯卧撑 */
    private String pushUp;
    
    /** 两头起 */
    private String vUp;
    
    private BasicForceOption(String alias, String staticSquat, String pushUp, String vUp) {
        this.alias = alias;
        this.staticSquat = staticSquat;
        this.pushUp = pushUp;
        this.vUp = vUp;
    }
    
    /**
     * 
     * @param alias
     * @return
     */
    public static BasicForceOption aliasOf(String alias) {
        for (BasicForceOption basicForceOption : BasicForceOption.values()) {
            if (basicForceOption.getAlias().equalsIgnoreCase(alias)) {
                return basicForceOption;
            }
        }
        
        return null;
    }

    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }

    /**
     * @return the staticSquat
     */
    public String getStaticSquat() {
        return staticSquat;
    }

    /**
     * @return the pushUp
     */
    public String getPushUp() {
        return pushUp;
    }

    /**
     * @return the vUp
     */
    public String getvUp() {
        return vUp;
    }

    /**
     * @param alias the alias to set
     */
    public void setAlias(String alias) {
        this.alias = alias;
    }

    /**
     * @param staticSquat the staticSquat to set
     */
    public void setStaticSquat(String staticSquat) {
        this.staticSquat = staticSquat;
    }

    /**
     * @param pushUp the pushUp to set
     */
    public void setPushUp(String pushUp) {
        this.pushUp = pushUp;
    }

    /**
     * @param vUp the vUp to set
     */
    public void setvUp(String vUp) {
        this.vUp = vUp;
    }
}
